﻿<ImportExportXml version="4.0.0.0" languagecode="1033" generatedBy="OnPremise">
  <Entities>
    <Entity>
      <Name LocalizedName="Incremental Numbering" OriginalName="Incremental Numbering">Mag_incrementalnumbering</Name>
      <ObjectTypeCode>10015</ObjectTypeCode>
      <EntityInfo>
        <entity Name="Mag_incrementalnumbering">
          <HasRelatedNotes>True</HasRelatedNotes>
          <HasRelatedActivities>True</HasRelatedActivities>
          <ObjectTypeCode>10015</ObjectTypeCode>
          <CollectionName>Mag_incrementalnumberings</CollectionName>
          <LogicalCollectionName>mag_incrementalnumberings</LogicalCollectionName>
          <BaseTableName>Mag_incrementalnumberingBase</BaseTableName>
          <WorkflowEventMask>-1</WorkflowEventMask>
          <IsCustomizable>1</IsCustomizable>
          <IsMappable>1</IsMappable>
          <IsImportable>1</IsImportable>
          <IsDuplicateCheckSupported>1</IsDuplicateCheckSupported>
          <OwnershipTypeMask>OrgOwned</OwnershipTypeMask>
          <IsAudited>1</IsAudited>
          <EntityMask>ActivityPointer</EntityMask>
          <IsReplicated>1</IsReplicated>
          <IsReplicationUserFiltered>1</IsReplicationUserFiltered>
          <IsCustomEntity>1</IsCustomEntity>
          <IsValidForAdvancedFind>1</IsValidForAdvancedFind>
          <ExtensionTableName>Mag_incrementalnumberingExtensionBase</ExtensionTableName>
          <ReportViewName>FilteredMag_incrementalnumbering</ReportViewName>
          <IsRenameable>1</IsRenameable>
          <CanTriggerWorkflow>1</CanTriggerWorkflow>
          <CanBeChildInCustomRelationship>1</CanBeChildInCustomRelationship>
          <CanBeInCustomEntityAssociation>1</CanBeInCustomEntityAssociation>
          <CanBeInCustomReflexiveRelationship>1</CanBeInCustomReflexiveRelationship>
          <IsMailMergeEnabled>1</IsMailMergeEnabled>
          <EntityClassName>Microsoft.Crm.Entities.CustomBusinessEntity</EntityClassName>
          <EntityAssembly>Microsoft.Crm.Entities</EntityAssembly>
          <ServiceClassName>Microsoft.Crm.ObjectModel.CustomBusinessEntityService</ServiceClassName>
          <ServiceAssembly>Microsoft.Crm.ObjectModel</ServiceAssembly>
          <WorkflowSupport>15</WorkflowSupport>
          <LocalizedNames>
            <LocalizedName description="Incremental Numbering" languagecode="1033" />
          </LocalizedNames>
          <LocalizedCollectionNames>
            <LocalizedCollectionName description="Incremental Numbering" languagecode="1033" />
          </LocalizedCollectionNames>
          <Descriptions>
            <Description description="" languagecode="1033" />
          </Descriptions>
          <attributes>
            <attribute PhysicalName="CreatedBy">
              <Type>lookup</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <ReferencedEntityObjectTypeCode>8</ReferencedEntityObjectTypeCode>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000031</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Unique identifier of the user who created the record." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <LookupClass>SystemUsers</LookupClass>
              <LookupStyle>single</LookupStyle>
              <LookupTypes />
              <displaynames>
                <displayname description="Created By" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="CreatedOn">
              <Type>datetime</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000015</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Date and time when the record was created." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>date</Format>
              <displaynames>
                <displayname description="Created On" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="DeletionStateCode">
              <Type>int</Type>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-2147483648</MinValue>
              <MaxValue>2147483647</MaxValue>
            </attribute>
            <attribute PhysicalName="ImportSequenceNumber">
              <Type>int</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind</DisplayMask>
              <Descriptions>
                <Description description="Sequence number of the import that created this record." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-2147483648</MinValue>
              <MaxValue>2147483647</MaxValue>
              <displaynames>
                <displayname description="Import Sequence Number" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Mag_current_position">
              <Type>int</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsCustomField>1</IsCustomField>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <MinValue>-2147483648</MinValue>
              <MaxValue>2147483647</MaxValue>
              <displaynames>
                <displayname description="Current Position" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Mag_entity_schema_name">
              <Type>nvarchar</Type>
              <Length>200</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsCustomField>1</IsCustomField>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>required</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="Entity Schema Name" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Mag_incrementalnumberingId">
              <Type>primarykey</Type>
              <IsNullable>0</IsNullable>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsPKAttribute>1</IsPKAttribute>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000032</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|RequiredForGrid</DisplayMask>
              <Descriptions>
                <Description description="Unique identifier for entity instances" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <displaynames>
                <displayname description="Incremental Numbering" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Mag_name">
              <Type>nvarchar</Type>
              <Length>200</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsCustomField>1</IsCustomField>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ActivityPointerRegardingName|PrimaryName|ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="The name of the custom entity." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>required</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="Name" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Mag_property_schema_name">
              <Type>nvarchar</Type>
              <Length>200</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsCustomField>1</IsCustomField>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>required</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="Field Schema Name" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="ModifiedBy">
              <Type>lookup</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <ReferencedEntityObjectTypeCode>8</ReferencedEntityObjectTypeCode>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000031</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Unique identifier of the user who modified the record." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <LookupClass>SystemUsers</LookupClass>
              <LookupStyle>single</LookupStyle>
              <LookupTypes />
              <displaynames>
                <displayname description="Modified By" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="ModifiedOn">
              <Type>datetime</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000015</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Date and time when the record was modified." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>date</Format>
              <displaynames>
                <displayname description="Modified On" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="OrganizationId">
              <Type>lookup</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <ReferencedEntityObjectTypeCode>1019</ReferencedEntityObjectTypeCode>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000031</AttributeTypeId>
              <Descriptions>
                <Description description="Unique identifier for the organization" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <LookupTypes />
              <displaynames>
                <displayname description="Organization Id" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="OverriddenCreatedOn">
              <Type>datetime</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000015</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Date and time that the record was migrated." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>date</Format>
              <displaynames>
                <displayname description="Record Created On" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="statecode">
              <Type>state</Type>
              <IsNullable>0</IsNullable>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000036</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Status of the Incremental Numbering" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <states>
                <state value="0" defaultstatus="1" invariantname="Active">
                  <labels>
                    <label description="Active" languagecode="1033" />
                  </labels>
                </state>
                <state value="1" defaultstatus="2" invariantname="Inactive">
                  <labels>
                    <label description="Inactive" languagecode="1033" />
                  </labels>
                </state>
              </states>
              <displaynames>
                <displayname description="Status" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="statecodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>statecode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
            </attribute>
            <attribute PhysicalName="statuscode">
              <Type>status</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000037</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Reason for the status of the Incremental Numbering" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <statuses>
                <status value="1" state="0">
                  <labels>
                    <label description="Active" languagecode="1033" />
                  </labels>
                </status>
                <status value="2" state="1">
                  <labels>
                    <label description="Inactive" languagecode="1033" />
                  </labels>
                </status>
              </statuses>
              <displaynames>
                <displayname description="Status Reason" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="statuscodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>statuscode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
            </attribute>
            <attribute PhysicalName="TimeZoneRuleVersionNumber">
              <Type>int</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-1</MinValue>
              <MaxValue>2147483647</MaxValue>
              <Accuracy>0</Accuracy>
            </attribute>
            <attribute PhysicalName="UTCConversionTimeZoneCode">
              <Type>int</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-1</MinValue>
              <MaxValue>2147483647</MaxValue>
              <Accuracy>0</Accuracy>
            </attribute>
            <attribute PhysicalName="VersionNumber">
              <Type>timestamp</Type>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000025</AttributeTypeId>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
            </attribute>
          </attributes>
        </entity>
      </EntityInfo>
      <FormXml id="{E9A4F71F-F201-420B-85C8-ADA9B2985EAF}">
        <forms>
          <entity name="mag_incrementalnumbering" objecttypecode="10015">
            <form type="main" enablerelatedinformation="true" relatedInformationCollapsed="true" id="{8accf0ed-0ba8-4f4d-8838-105d9bb503df}">
              <tabs>
                <tab verticallayout="true" id="{cdadfc98-d04f-4b56-a125-042dbb2c9cea}" IsUserDefined="1">
                  <labels>
                    <label description="General" languagecode="1033" />
                  </labels>
                  <sections>
                    <section showlabel="false" showbar="false" IsUserDefined="0" id="{22abcfe9-39f1-45dd-a08c-f042bce7a59a}">
                      <labels>
                        <label description="General" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell colspan="2" id="{bfe076cc-df9a-4af8-abb8-96caf023340f}">
                            <labels>
                              <label description="Name" languagecode="1033" />
                            </labels>
                            <control id="mag_name" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="mag_name" />
                          </cell>
                        </row>
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{5493e37a-14b4-43e6-8e21-effcce4ea227}">
                            <labels>
                              <label description="Entity Schema Name" languagecode="1033" />
                            </labels>
                            <control id="mag_entity_schema_name" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="mag_entity_schema_name" disabled="false" />
                          </cell>
                          <cell showlabel="true" colspan="1" id="{4cfca26d-bf2a-4fc1-99c4-f4dde1fdd353}">
                            <labels>
                              <label description="" languagecode="1033" />
                            </labels>
                          </cell>
                        </row>
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{7d65cdb2-7be5-46e3-918f-fcd881ebc8d8}">
                            <labels>
                              <label description="Field Schema Name" languagecode="1033" />
                            </labels>
                            <control id="mag_property_schema_name" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="mag_property_schema_name" disabled="false" />
                          </cell>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{507c77cf-875f-4dd7-9c92-6b46e438bc9a}">
                            <labels>
                              <label description="Current Position" languagecode="1033" />
                            </labels>
                            <control id="mag_current_position" classid="{C6D124CA-7EDA-4a60-AEA9-7FB8D318B68F}" datafieldname="mag_current_position" disabled="false" />
                          </cell>
                        </row>
                      </rows>
                    </section>
                  </sections>
                </tab>
                <tab id="{a7e54a73-ec16-4902-a6b9-07202de1b8fb}" IsUserDefined="0">
                  <labels>
                    <label description="Notes" languagecode="1033" />
                  </labels>
                  <sections>
                    <section showlabel="true" showbar="true" locklevel="1" id="{731711ab-df44-440a-95ad-fb66a919e135}" IsUserDefined="0" height="auto">
                      <labels>
                        <label description="Notes" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell colspan="2" showlabel="false" rowspan="5" auto="true" id="{5e9ce4c9-d9ec-44ea-8f5c-049a591f2474}">
                            <labels>
                              <label description="" languagecode="1033" />
                            </labels>
                            <control id="notescontrol" classid="{06375649-c143-495e-a496-c962e5b4488e}" />
                          </cell>
                        </row>
                        <row />
                        <row />
                        <row />
                        <row height="auto" />
                      </rows>
                    </section>
                  </sections>
                </tab>
              </tabs>
            </form>
          </entity>
          <entity name="mag_incrementalnumbering" objecttypecode="10015">
            <form type="preview" id="{f9cc61e4-211b-4a92-b64c-257caef59609}">
              <tabs>
                <tab verticallayout="true" id="{ee8d8b6a-f8fc-4561-853b-7963fa82c656}" IsUserDefined="1">
                  <labels>
                    <label description="General" languagecode="1033" />
                  </labels>
                  <sections>
                    <section showlabel="false" showbar="false" IsUserDefined="1" id="{f1b0d36d-1599-45c9-9364-47404b3c4707}">
                      <labels>
                        <label description="Information" languagecode="1033" />
                      </labels>
                      <rows />
                    </section>
                  </sections>
                </tab>
              </tabs>
            </form>
          </entity>
        </forms>
      </FormXml>
      <SavedQueries>
        <savedqueries entity="SavedQuery" morerecords="0" paging-cookie="" version="3.0">
          <savedquery>
            <iscustomizable name="Yes">1</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="Yes">1</isdefault>
            <returnedtypecode formattedvalue="10,015">10015</returnedtypecode>
            <savedqueryid>{049DBDA0-D9BC-4D1F-A7B8-DFCC7A6DD0AD}</savedqueryid>
            <savedqueryidunique>{7891FAB7-7DE3-4426-BF06-56FD6FE81F44}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="10015" jump="mag_name" select="1" icon="1" preview="1">
                <row name="result" id="mag_incrementalnumberingid">
                  <cell name="mag_name" width="200" />
                  <cell name="mag_entity_schema_name" width="150" />
                  <cell name="mag_property_schema_name" width="150" />
                  <cell name="mag_current_position" width="100" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="0">0</querytype>
            <fetchxml>
              <fetch version="1.0" mapping="logical">
                <entity name="mag_incrementalnumbering">
                  <attribute name="mag_name" />
                  <order attribute="mag_name" descending="false" />
                  <filter type="and">
                    <condition attribute="statecode" operator="eq" value="0" />
                  </filter>
                  <attribute name="mag_property_schema_name" />
                  <attribute name="mag_entity_schema_name" />
                  <attribute name="mag_current_position" />
                  <attribute name="mag_incrementalnumberingid" />
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Active Incremental Numbering" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <columnsetxml>
              <columnset>
                <column>mag_name</column>
                <column>createdon</column>
                <ascend>mag_name</ascend>
              </columnset>
            </columnsetxml>
            <iscustomizable name="Yes">1</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="No">0</isdefault>
            <returnedtypecode formattedvalue="10,015">10015</returnedtypecode>
            <savedqueryid>{62B0F64A-4BF8-4DE6-9634-43FCBAC72F08}</savedqueryid>
            <savedqueryidunique>{E53B5722-D24E-4E43-965B-1EDF85693A7B}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="10015" jump="mag_name" select="1" icon="1" preview="1">
                <row name="result" id="mag_incrementalnumberingid">
                  <cell name="mag_name" width="300" />
                  <cell name="createdon" width="125" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="0">0</querytype>
            <fetchxml>
              <fetch version="1.0" mapping="logical">
                <entity name="mag_incrementalnumbering">
                  <attribute name="mag_incrementalnumberingid" />
                  <attribute name="mag_name" />
                  <attribute name="createdon" />
                  <order attribute="mag_name" descending="false" />
                  <filter type="and">
                    <condition attribute="statecode" operator="eq" value="1" />
                  </filter>
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Inactive Incremental Numbering" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <columnsetxml>
              <columnset>
                <column>mag_name</column>
                <column>createdon</column>
                <ascend>mag_name</ascend>
              </columnset>
            </columnsetxml>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="Yes">1</isdefault>
            <returnedtypecode formattedvalue="10,015">10015</returnedtypecode>
            <savedqueryid>{BA5948BC-9C58-4311-9A99-CC387A2D3ABA}</savedqueryid>
            <savedqueryidunique>{3B16BF08-F446-46AF-9E36-F959A3C20356}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="10015" jump="mag_name" select="1" icon="1" preview="1">
                <row name="result" id="mag_incrementalnumberingid">
                  <cell name="mag_name" width="300" />
                  <cell name="createdon" width="125" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="1">1</querytype>
            <fetchxml>
              <fetch version="1.0" mapping="logical">
                <entity name="mag_incrementalnumbering">
                  <attribute name="mag_incrementalnumberingid" />
                  <attribute name="mag_name" />
                  <attribute name="createdon" />
                  <order attribute="mag_name" descending="false" />
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Incremental Numbering Advanced Find View" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <columnsetxml>
              <columnset>
                <filter type="and">
                  <condition column="statecode" operator="eq" value="0" />
                </filter>
                <column>mag_name</column>
                <column>createdon</column>
                <ascend>mag_name</ascend>
              </columnset>
            </columnsetxml>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="Yes">1</isdefault>
            <returnedtypecode formattedvalue="10,015">10015</returnedtypecode>
            <savedqueryid>{9C22605E-EEC7-4DAD-BC60-CDF12BE95B9C}</savedqueryid>
            <queryapi>AUTO</queryapi>
            <savedqueryidunique>{50CB5D3C-B0C1-4390-B5AD-2787F2BCBA0E}</savedqueryidunique>
            <layoutxml>
              <grid name="mag_incrementalnumberings" object="10015" jump="mag_name" select="1" icon="1" preview="1">
                <row name="mag_incrementalnumbering" id="mag_incrementalnumberingid">
                  <cell name="mag_name" width="300" />
                  <cell name="createdon" width="125" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="2">2</querytype>
            <LocalizedNames>
              <LocalizedName description="Incremental Numbering Associated View" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <columnsetxml>
              <columnset>
                <column>mag_name</column>
                <column>createdon</column>
                <ascend>mag_name</ascend>
              </columnset>
            </columnsetxml>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="Yes">1</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="Yes">1</isdefault>
            <returnedtypecode formattedvalue="10,015">10015</returnedtypecode>
            <savedqueryid>{2A0610EE-34AC-4C85-836C-A772913D90B5}</savedqueryid>
            <savedqueryidunique>{818CFEDE-9AE7-42C3-8838-2E28026A1CEF}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="10015" jump="mag_name" select="1" icon="1" preview="1">
                <row name="result" id="mag_incrementalnumberingid">
                  <cell name="mag_name" width="300" />
                  <cell name="createdon" width="125" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="4">4</querytype>
            <fetchxml>
              <fetch version="1.0" mapping="logical">
                <entity name="mag_incrementalnumbering">
                  <attribute name="mag_incrementalnumberingid" />
                  <attribute name="mag_name" />
                  <attribute name="createdon" />
                  <order attribute="mag_name" descending="false" />
                  <filter type="and">
                    <condition attribute="statecode" operator="eq" value="0" />
                  </filter>
                  <filter type="or" isquickfindfields="1">
                    <condition attribute="mag_name" operator="like" value="{0}" />
                  </filter>
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Quick Find Active Incremental Numbering" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <columnsetxml>
              <columnset>
                <column>mag_name</column>
                <column>createdon</column>
                <ascend>mag_name</ascend>
              </columnset>
            </columnsetxml>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="Yes">1</isdefault>
            <returnedtypecode formattedvalue="10,015">10015</returnedtypecode>
            <savedqueryid>{11EC4EAD-D82B-4E4A-A541-E2BEC0B2178F}</savedqueryid>
            <savedqueryidunique>{6FF90DC5-7637-4836-8C8A-B9B98E76FB8A}</savedqueryidunique>
            <layoutxml>
              <grid name="mag_incrementalnumberings" object="10015" jump="mag_name" select="1" icon="1" preview="0">
                <row name="mag_incrementalnumbering" id="mag_incrementalnumberingid">
                  <cell name="mag_name" width="300" />
                  <cell name="createdon" width="125" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="64">64</querytype>
            <fetchxml>
              <fetch version="1.0" mapping="logical">
                <entity name="mag_incrementalnumbering">
                  <attribute name="mag_incrementalnumberingid" />
                  <attribute name="mag_name" />
                  <attribute name="createdon" />
                  <filter type="or" isquickfindfields="1">
                    <condition attribute="mag_name" operator="like" value="{0}" />
                  </filter>
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Incremental Numbering Lookup View" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
        </savedqueries>
      </SavedQueries>
      <Icons />
    </Entity>
  </Entities>
  <Roles>
  </Roles>
  <Workflows>
  </Workflows>
  <EntityMaps />
  <EntityRelationships>
    <EntityRelationship Name="lk_mag_incrementalnumbering_createdby">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Mag_incrementalnumbering</ReferencingEntityName>
      <ReferencedEntityName>SystemUser</ReferencedEntityName>
      <ReferencingAttributeName>createdby</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the user who created the record." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="createdby" requiredlevel="none" imemode="auto" lookupclass="SystemUsers" lookupstyle="single" lookupbrowse="0">
        <displaynames>
          <displayname description="Created By" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="lk_mag_incrementalnumbering_modifiedby">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Mag_incrementalnumbering</ReferencingEntityName>
      <ReferencedEntityName>SystemUser</ReferencedEntityName>
      <ReferencingAttributeName>modifiedby</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the user who modified the record." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="modifiedby" requiredlevel="none" imemode="auto" lookupclass="SystemUsers" lookupstyle="single" lookupbrowse="0">
        <displaynames>
          <displayname description="Modified By" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="organization_mag_incrementalnumbering">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Mag_incrementalnumbering</ReferencingEntityName>
      <ReferencedEntityName>Organization</ReferencedEntityName>
      <ReferencingAttributeName>organizationid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier for the organization" languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="organizationid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0">
        <displaynames>
          <displayname description="Organization Id" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="mag_incrementalnumbering_ActivityPointers">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>ActivityPointer</ReferencingEntityName>
      <ReferencedEntityName>Mag_incrementalnumbering</ReferencedEntityName>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the activity is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegarding" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
      <EntityRelationshipRoles>
        <EntityRelationshipRole>
          <NavPaneDisplayOption>UseCollectionName</NavPaneDisplayOption>
          <NavPaneArea>Details</NavPaneArea>
        </EntityRelationshipRole>
      </EntityRelationshipRoles>
    </EntityRelationship>
    <EntityRelationship Name="mag_incrementalnumbering_Appointments">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Appointment</ReferencingEntityName>
      <ReferencedEntityName>Mag_incrementalnumbering</ReferencedEntityName>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the appointment is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegarding" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="mag_incrementalnumbering_Emails">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Email</ReferencingEntityName>
      <ReferencedEntityName>Mag_incrementalnumbering</ReferencedEntityName>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the e-mail is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegarding" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="mag_incrementalnumbering_Faxes">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Fax</ReferencingEntityName>
      <ReferencedEntityName>Mag_incrementalnumbering</ReferencedEntityName>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the fax activity is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegarding" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="mag_incrementalnumbering_Letters">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Letter</ReferencingEntityName>
      <ReferencedEntityName>Mag_incrementalnumbering</ReferencedEntityName>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the letter activity is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegarding" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="mag_incrementalnumbering_PhoneCalls">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>PhoneCall</ReferencingEntityName>
      <ReferencedEntityName>Mag_incrementalnumbering</ReferencedEntityName>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the phone call activity is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegarding" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="mag_incrementalnumbering_ServiceAppointments">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>ServiceAppointment</ReferencingEntityName>
      <ReferencedEntityName>Mag_incrementalnumbering</ReferencedEntityName>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the service activity is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegarding" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="mag_incrementalnumbering_Tasks">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Task</ReferencingEntityName>
      <ReferencedEntityName>Mag_incrementalnumbering</ReferencedEntityName>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the task is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegardingForTask" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="mag_incrementalnumbering_DuplicateMatchingRecord">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>DuplicateRecord</ReferencingEntityName>
      <ReferencedEntityName>Mag_incrementalnumbering</ReferencedEntityName>
      <ReferencingAttributeName>duplicaterecordid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the potential duplicate record." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="duplicaterecordid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0">
        <displaynames>
          <displayname description="Duplicate Record ID" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="mag_incrementalnumbering_DuplicateBaseRecord">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>DuplicateRecord</ReferencingEntityName>
      <ReferencedEntityName>Mag_incrementalnumbering</ReferencedEntityName>
      <ReferencingAttributeName>baserecordid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the base record." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="baserecordid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0">
        <displaynames>
          <displayname description="Base Record ID" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="mag_incrementalnumbering_Annotations">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Annotation</ReferencingEntityName>
      <ReferencedEntityName>Mag_incrementalnumbering</ReferencedEntityName>
      <ReferencingAttributeName>objectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the note is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="objectid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="mag_incrementalnumbering_AsyncOperations">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>AsyncOperation</ReferencingEntityName>
      <ReferencedEntityName>Mag_incrementalnumbering</ReferencedEntityName>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the system job is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegarding" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="mag_incrementalnumbering_BulkDeleteFailures">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>BulkDeleteFailure</ReferencingEntityName>
      <ReferencedEntityName>Mag_incrementalnumbering</ReferencedEntityName>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the record that can not be deleted." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Name" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
  </EntityRelationships>
  <Languages>
    <Language>1033</Language>
  </Languages>
</ImportExportXml>